package com.yuanfengerp.logistics.dao;


import com.yuanfengerp.logistics.moudel.LogisticsInfo;
import com.yuanfengerp.logistics.moudel.LogisticsManageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

//@Repository
@Mapper
public interface ILogisticsMapper {
    int insertLogisticsManage(LogisticsInfo logistics);
    int setState(String logistics_ID, Integer logistics_state);
    List<LogisticsInfo> getAllLogisticsManage();
    List<LogisticsInfo> getLogisticsManage(Map<String, Object> params);
    int deleteLogisticsManage(String logistics_ID);
    int updateLogisticsManage(LogisticsInfo logistics);
    LogisticsInfo selectLogisticsManage(String logistics_ID);
    //连表新增LogisticsManageInfo
    int insertLogisticsManageInfo(LogisticsManageInfo logisticsManageInfo);
    //连表查询
    List<LogisticsInfo> selectLogisticsManageInfo(@Param("logistics_ID") String logistics_ID);
}
